<form action="index.php?action=update&id=<?php echo $user->id; ?>" method="post">
	<label for='username'>Username</label>
	<input type='text' name='username' value='<?php echo $user->username; ?>'/>
	<label for='password'>Password</label>
	<input type='password' name='password' value='<?php echo $user->password; ?>' />
	<input type="submit" value="Update" name="update">
</form>